﻿using System;

namespace OZDoo.Core.Exceptions
{
    /// <summary>
    /// CLNET异常类
    /// </summary>
    public class OzdException:Exception
    {
        /// <summary>
        /// 异常消息
        /// </summary>
        string message;
        /// <summary>
        /// 异常消息属性
        /// </summary>
        public override string Message {
            get { return message; }
        }
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="message">异常消息</param>
        public OzdException(string message):base(message)
        {
            
            this.message = message;
        }
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="message">异常消息</param>
        public OzdException():base()
        {
        }
    }
}
